
<?php

if (!defined('WEB_ROOT')) {
	exit;
}
$parentId = (isset($_GET['parentId']) && $_GET['parentId'] > 0) ? $_GET['parentId'] : 0;
?>

<!DOCTYPE html>
<html lang="en">
<head>
<script
	type="text/javascript" src="../fckeditor/fckeditor.js"></script>

</head>
<body>
<div class="content-box-content">
<form action="processCategory.php?action=add" method="post"
	enctype="multipart/form-data" name="frmCategory" id="frmCategory">
<div class="title">
<div class="seprate"><img src="../images/bullet0.jpg" alt="Cate" />Category</div>
<div class="rightseprate" style="text-align: right"><input
	class="wtextbox" name="txtName" id="txtName" type="text" size="40px" />
<input class="wtextbox" name="txtName_vi" id="txtName_vi" type="text" />
</div>
</div>

<div class="title">
<div class="seprate"><img src="../images/bullet0.jpg" alt="Cate" />
Category Image</div>

<div class="rightseprate" style="text-align: right"><input id="fleImage"
	name="fleImage" type="file" /></div>
<input name="hidParentId" type="hidden" id="hidParentId"
	value="<?php echo $parentId; ?>"></div>
<div class="title bground ">
<div class="seprate"><img src="../images/bullet0.jpg" alt="Cate" />
Category Description</div>

</div>
<div><textarea id="mtxDescription" name="mtxDescription" rows="" cols=""></textarea>
</div>
<div><textarea id="mtxDescription_vi" name="mtxDescription_vi" rows=""
	cols=""></textarea></div>


<div class="btnAdd"><input name="btnAddCategory" type="Submit"
	id="btnAddCategory" value="Add Category" onClick="checkCategoryForm()"
	class="box"> <input name="btnCancel" type="Reset" id="btnCancel"
	value="Cancel"
	onClick="window.location.href='index.php?catId=<?php echo $parentId; ?>';"
	class="box"></div>

</form>
</div>

<p></p>

</body>
<p></p>
</html>
